package com.jzo2o.customer.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jzo2o.common.model.PageResult;
import com.jzo2o.customer.model.domain.AgencyCertificationAudit;
import com.jzo2o.customer.model.dto.request.AgencyCertificationAuditAddReqDTO;
import com.jzo2o.customer.model.dto.request.AgencyCertificationAuditPageQueryReqDTO;

public interface AgencyCertficationAuditService extends IService<AgencyCertificationAudit> {
    /**
     * 机构端提交认证申请
     */
    void agencyCertificationAudit(AgencyCertificationAuditAddReqDTO dto);

    /**
     * 查询最新的驳回原因
     */
    String agencyRejectReason();

    /**
     * 审核机构认证分页查询
     */
    PageResult<AgencyCertificationAudit> queryPageAgency(AgencyCertificationAuditPageQueryReqDTO dto);

    /**
     * 审核机构认证信息
     */
    void auditServicePersonnel(Integer certificationStatus, Long id, String rejectReason);
}
